package com.yf.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆事件历史
 *
 * @author wangbiao
 * @date 2016-08-17 15：24
 */
@ApiModel
public class VehicleEvent implements Serializable {

    private static final long serialVersionUID = -1860240804043804035L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 车辆ID
     */
    @ApiModelProperty(value = "车辆ID")
    private Integer vehicleId;

    /**
     * 车牌
     */
    @ApiModelProperty(value = "车牌")
    private String carPlate;

    /**
     * 事件摘要
     */
    @ApiModelProperty(value = "事件摘要")
    private String content;

    /**
     * 事件时间
     */
    @ApiModelProperty(value = "事件时间")
    private Date time;

    /**
     * 上传时间
     */
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;

    /**
     * 处理状态 ： 这个可以是枚举类型
     */
    @ApiModelProperty(value = "处理状态")
    private String handleStatus;

    /**
     * 处理人ID
     */
    @ApiModelProperty(value = "处理人ID")
    private Long operatorId;

    /**
     * 处理人
     */
    @ApiModelProperty(value = "处理人")
    private String operatorName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(String handleStatus) {
        this.handleStatus = handleStatus;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

}
